import Pinterface from './Public'
namespace User{
  export class searchForm {
    status:number | string = ''
    searchWord:string = ''
    searchType:number|string = ''
    gender:number|string= ''
    timeType:number|string= ''
    sumTime:Date[] | string[]=['','']
  }
  export class tableData {
    nickname:string = ''
    gender:number = 0
    username:string = ''
    email:string = ''
    status:number = 0
  }

  export class addMenuForm {
    parent_id:string | number = ''
    title:string = ''
    route_name:string = ''
    api_route_name:string = ''
    type:number | string = ''
    status:number | string = ''
  }



  export class userReactiveData {
    searchForm:searchForm = new searchForm()
    tableCols:Pinterface.tableCols[] = []
    tableData:tableData[] = []
    searchTypeDrop:Pinterface.KeyVal[] = []
    statusDrop:Pinterface.KeyVal[] = []
    genderDrop:Pinterface.KeyVal[] = []
    timeTypeDrop:Pinterface.KeyVal[] = []
  }

  
  export class addMenuReactiveData {
    form:addMenuForm = new addMenuForm()
    statusDrop:Pinterface.KeyVal[] = []
    typeDrop:Pinterface.KeyVal[] = []
  }

}



export default User

